<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>

    <title>welcome!</title>
    <style type="text/css">
    	body{
    	background-image: url("../back.jpg");
    	}
    </style>
   
  </head>
  
  <body>
    成功登陆！ <br/>
    欢迎 ${user.userName} 同学！<br/><br/><br/>
  <table align="center" border="2"><tr><td>信息：下周全校停课！^_^</td></tr></table>
    <table align="center" bgcolor="pink" border="2" >
    <tr>
    	<td>...</td><td>星期一</td><td>星期二</td><td>星期三</td><td>星期四</td><td>星期五</td>
    </tr>
    <tr>
    	<td>第一节</td><c:forEach items="${courses}" begin="1" end="5" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    <tr>
    	<td>第二节</td><c:forEach items="${courses}" begin="6" end="10" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    <tr>
    	<td>第三节</td><c:forEach items="${courses}" begin="11" end="15" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    <tr>
    	<td>第四节</td><c:forEach items="${courses}" begin="16" end="20" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    <tr>
    	<td>第五节</td><c:forEach items="${courses}" begin="21" end="25" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    <tr>
    	<td>第六节</td><c:forEach items="${courses}" begin="26" end="30" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    <tr>
    	<td>第七节</td><c:forEach items="${courses}" begin="31" end="35" varStatus="a" var="temp"><td><a href="/InformSystem/courselist.do?position=${a.index}">${temp }</a></td></c:forEach>
    </tr>
    </table>
  </body>
</html>
